/*===========================================================================================================
 * main.less v0.1.0
 * Author:Bone
 * 2014/12/19
 *==========================================================================================================*/

/* global */


@navbar-height:30px;
@sidebar-width:200px;
@main-content-min-height:650px;
@footer-height:20px;
*{
  font-family: "微软雅黑";
}
.container{
  width: 100%;
  min-width: 500px;
  max-width: none !important;
}
.row{
  margin: 0px;
}
.pagination{
  margin: 5px;

}
input[type='file']:focus, input[type='radio']:focus, input[type='checkbox']:focus,
a:focus{
  outline: none;
}
.panel{
  margin-right: 20px;
}

/*top nav bar*/
.sw-navbar{
  min-height: @navbar-height;
  height: @navbar-height;
  width: 100%;
  z-index:99999;
  .navbar-brand{
    height:@navbar-height;
    padding:5px;
  }
  .navbar-nav{
    float: right;

    display: block;
    margin-right: 20px;
  }
  .navbar-nav > li {
    float: left;
  }
  .navbar-nav > li > a {
    height:@navbar-height;
    padding:5px;
  }
}

.main-content{
  width: 100%;
  margin-top: @navbar-height + 5px;
  margin-bottom: @footer-height;
  padding-left:5px;
  padding-right: 5px;
  min-height: @main-content-min-height;

  .sidebar{
    position: fixed;
    width: @sidebar-width;
    display: block;
    float: left;
    padding-left: 5px;
    .submenu{
      font-size: 12px;
      padding-left:15px ;
    }
  }

  .workspace{
    margin-left: @sidebar-width+5;
    margin-right:auto;
  }
}

.sw-footer{
  width: 100%;
  min-height: @footer-height;
}

.login-panel{
  width: 400px;
  margin: 100px auto;
}

